package fourteen;

/**
 * @author zzb
 * @since 2021-01-13
 */

//启动
public class Test {
  public static void main(String[] args) {
    Receiver rec = new Receiver();
    Command cmd = new CommandImpl(rec);
    Invoker i = new Invoker();
    i.setCommand(cmd);
    i.execute();
  }
}
